<?php
/**
 * Core_Controller_Maincategorydata
 * main category data controller
 * @author Adrian Stolarski
 */
class Core_Controller_Maincategorydata implements Core_Controller_Mainable {
    
    /**
     *
     * @var type $main_category_model
     * main category model handler
     */
    public $main_category_model;
    
    /**
     * constructor()
     */
    public function __construct(){
        $this->main_category_model = new Core_Model_Maincategorydata;
    }
    
    /**
     * main()
     * get main category data
     * 
     * @param array $variables
     * @return type
     */
    public function main(array $variables = null) {
        //var_dump($variables);
        //die();
        return $this->main_category_model->main($variables);
    }

}
